WCProductsWizard\Cart D

Total Complexity 293
Dependencies 10
Dependents 5
Total lines 1,509
Lines of code 819
Logical lines of code 411
Comment lines 418
Methods 45
Properties 3

Methods 45

Method Rating Maintainability Complexity Lines of code
get()
C
35 30 78
beforeCalculateAction()
C
35 24 86
itemSubTotalFilter()
A
51 14 24
itemPriceFilter()
A
51 14 24
addProduct()
A
41 11 60
getItemPrice()
A
45 12 39
getTotalPrice()
A
54 12 19
getTotal()
A
54 12 16
modifyPriceAccordingItemTaxes()
A
49 11 28
getAttributeValues()
A
50 11 25
itemRemoveAction()
A
53 11 22
quantityUpdateAction()
A
53 10 23
itemDataFilter()
A
46 8 37
itemRestoreAction()
A
56 9 18
getKeyByVariationData()
S
59 7 12
getKitChildData()
S
47 5 34
getKeyByProductId()
S
60 6 12
getProductById()
S
60 6 12
itemQuantityFilter()
S
63 6 11
getProductMeta()
S
59 5 14
removeByStepId()
S
59 5 13
getItemStepInputChildrenPrice()
S
60 5 12
getItemFinalPrice()
S
61 5 11
itemAfterRemoveAction()
S
64 5 10
displayPricesIncludesTax()
S
65 5 8
getProductsAndVariationsIds()
S
60 4 13
generateProductId()
S
62 4 11
itemClass()
S
63 4 11
getCategoriesIds()
S
62 3 11
getStepsIds()
S
63 3 10
itemRemoveLinkFilter()
S
68 3 7
itemAfterRestoreAction()
S
67 3 8
itemThumbnailFilter()
S
60 2 13
__construct()
S
54 1 20
pricesIncludeTax()
S
70 2 6
setItemPrice()
S
68 2 7
getItemByKey()
S
70 2 5
clearCache()
S
70 2 7
itemVisibilityFilter()
S
71 2 6
removeByProductId()
S
63 2 10
getByStepId()
S
73 1 4
truncate()
S
69 1 7
getStorage()
S
78 1 3
removeByCartKey()
S
65 1 9
set()
S
78 1 3